package com.yjt.admin.system.dao;

import com.yjt.admin.system.entity.RoleMenu;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.yjt.admin.system.vo.MenuVO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 角色菜单表 Mapper 接口
 * </p>
 *
 * @author zzp
 * @since 2021-10-08
 */
public interface RoleMenuMapper extends BaseMapper<RoleMenu> {

    /**
     * 查询菜单通过角色id
     * @param roleId
     * @return
     */
    List<MenuVO> findMenuByRoleId(@Param("roleId") String roleId);
}
